<!DOCTYPE html>
<html lang="">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>学历报名表</title>
  <style>
    /* 100vw / 1080 设计稿 = 0.1333333333333333 => 1px */
    html {
      font-size: 13.33333333333333vw;
      /* 100px */

    }
  </style>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
  <script>
    window.onload = function () {
      // 当一个手指已经按在屏幕上，另一个手指又触摸屏幕的时候触发。类似于 `touchstart` 的作用一样； 
      document.addEventListener('gesturestart', function (e) {
        // 禁用默认的行为
        e.preventDefault();
      });
      // 双击事件
      document.addEventListener('dblclick', function (e) {
        // 禁用默认的行为
        e.preventDefault();
      });
      document.addEventListener('touchstart', function (event) {
        if (event.touches.length > 1) {
          // 禁用默认的行为
          e.preventDefault();
        }
      });
      var lastTouchEnd = 0;
      // 当手指从屏幕上离开的时候触发
      document.addEventListener('touchend', function (event) {
        var now = (new Date()).getTime();
        if (now - lastTouchEnd <= 300) {
          // 禁用默认的行为
          e.preventDefault();
        }
        lastTouchEnd = now;
      },
        false
      );
    };

  </script>
</body>

</html>
